package com.whty.demo.repo;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;
import java.io.Serializable;

/**
 * @ClassName EncryptRepository
 * @author Administrator
 * @date 2017-4-20 下午4:50:07
 * @Description TODO(基础类)
 */
@NoRepositoryBean
public interface BaseRepository<T,ID extends Serializable> extends JpaRepository<T,ID> {
    
    boolean support(String modelType);
    
    public void saveEntity(T entity);
	
	public void updateEntity(T entity);
}
